feat: change microbit receiver naming convention#526
Merged
takaokouji merged 1 commit intodevelopfrom Jan 17, 2026
Merged
Conversation
- Change microbit more extension receiver from 'microbit_more' to 'microbit' (main) - Change microbit extension receiver from 'microbit' to 'microbit_v1' (obsolete) - Add backward compatibility for 'microbit_more' receiver - Update snippets for both extensions - Update tests to reflect new receiver naming This makes microbit more the primary microbit extension, with the original microbit extension marked as obsolete (v1). Receiver mapping: - microbit.xxx -> microbit more extension (new main) - microbit_more.xxx -> microbit more extension (backward compatibility) - microbit_v1.xxx -> microbit extension (obsolete) Fixes #23 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
github-actions bot
pushed a commit
that referenced
this pull request
Jan 17, 2026
…bit-receiver-rename feat: change microbit receiver naming convention
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
microbit_moreからmicrobitに変更(メイン)microbitからmicrobit_v1に変更(obsolete)microbit_moreレシーバーも引き続きサポートImplementation Details
レシーバーマッピング
microbit.xxxmicrobit_more.xxxmicrobit_v1.xxx変更ファイル
Ruby Generator(ブロック → Ruby):
microbit.js: すべてのmicrobit.をmicrobit_v1.に変更microbit_more.js: すべてのmicrobit_more.をmicrobit.に変更Ruby to Blocks Converter(Ruby → ブロック):
microbit.js: レシーバー定数を'microbit_v1'に変更microbit_more.js: レシーバー定数を'microbit'に変更 +microbit_moreの後方互換ハンドラを追加スニペット:
microbit-snippets.json:microbit.→microbit_v1.microbit-more-snippets.json:microbit_more.→microbit.Test Coverage
# テスト実行結果 Test Suites: 17 passed, 17 total Tests: 351 passed, 351 totalUsage Example
新しいレシーバー(microbit more拡張機能)
後方互換(microbit more拡張機能)
旧microbit拡張機能(obsolete)
Fixes smalruby/smalruby3-develop#23
🤖 Generated with Claude Code